package cn.liuding.pethome.basic.base.query;

import lombok.Data;

@Data
public class BaseQuery {
    //d当前页数
    private Long currentpage;
    //页面中的数据条数
    private Long pageSize;

    private String keyword;

    public Long getStart(){
        return (currentpage-1)*pageSize;
    }
}
